// 计算从 1 加到 100 的总和
#include <stdio.h>

int main() {
    int sum = 0;
    for (int i = 1; i <= 100; ++i) {
        sum += i;
    }
    printf("The sum from 1 to 100 is: %d\n", sum);
    return 0;
}
